package com.twu.biblioteca;


public class User {

    private String username;
    private String password;
    private String name;
    private String email;
    private int phone;

    public User(String username, String password, String name, String email, int phone) {
        this.username = username;
        this.password = password;
        this.name = name;
        this.email = email;
        this.phone = phone;
    }

    public String getFormattedDetails() {
        return name + " " + email + " " + phone;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }
}
